Skip to content

Detox tests #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 25, 2019
Merged

Detox tests #15

merged 6 commits into from
Feb 25, 2019

Conversation

krizzu
Copy link
Member

@krizzu krizzu commented Feb 17, 2019

Add e2e test and run them on CI.

Todo:

Add test cases:

  • mergeItem
  • removeItem
  • clearItem

Run detox on CI:

  • iOS
  • Android

@krizzu krizzu merged commit 5b60019 into react-native-async-storage:master Feb 25, 2019
@krizzu krizzu deleted the e2e-with-detox branch February 25, 2019 10:13

beforeAll(async () => {
await device.reloadReactNative();
restartButton = await element(by.id('restart_button'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a test that would fail if restartButton didn’t actually restart. I believe all of the tests in this file would continue passing if restartButton was a no-op.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants